﻿intrinsic class net.wargaming.Account
{
    static var _nations, __get__attrs, __get__denunciations, __get__nations;
    function Account()
    static function __addCallBack(type, scope, callBack)
    static function addCreditsCallBack(scope, callBack)
    static function addPremiumCallBack(scope, callBack)
    static function addGoldCallBack(scope, callBack)
    static function addExperienceCallBack(scope, callBack)
    static function addVehicleChangeCallBack(scope, callBack)
    static function addPlayerSpeakingCallBack(scope, callBack)
    static function addTankmanChangeCallBack(scope, callBack)
    static function initialize()
    static function setAccountAttrs(value)
    static function setDenunciations(value)
    static function setExp(value)
    static function setCredits(value)
    static function setGold(value)
    static function setPremium(value)
    static function setVehicleChange(value)
    static function setTankmanChange(tankmanID)
    static function setPlayerSpeaking(dbID, isSpeak, isSelf)
    static function setNations()
    static function setInitialValue(type, value)
	
    static var ACCOUNT_ATTR = {BATTLE_XP: 1, TRADING: 2, CLAN: 4, MERCENARY: 8, RATING: 16, USER_INFO: 32, STATISTICS: 64, ARENA_CHANGE: 128, CHAT_ADMIN: 256, ADMIN: 512, ROAMING: 1024};
    static var accountAttrs = 0;
    static var denunciationsCount = 0;
    static var initialized = false;
    // static var callBackHash = {experience: Array(), credits: Array(), gold: Array(), premium: Array(), vehicleChange: Array(), tankmanChange: Array(), speakingPlayer: Array()};
    static var initialValues = {experience: 0, credits: 0, gold: 0, denunciations: 0, premium: false};
} // End of Class
